![]() |
InvokeKCCallbackUPP |
||||
Header: | Keychain.h | Carbon status: | Under Evaluation | |
Invokes your Keychain event-handling callback function.
OSStatus InvokeKCCallbackUPP ( KCEvent keychainEvent, KCCallbackInfo *info, void *userContext, KCCallbackUPP userUPP );
The Keychain-related events to be received by your callback function. See
A pointer to a structure of type KCCallbackInfo that provides information to your callback function. Keychain Manager passes this structure in the info parameter of your callback function.
A pointer to caller-defined storage. Keychain Manager passes this value in the userContext parameter of your callback structure. Your callback function might use it to track which instance of a function is active.
A UPP to your callback function. Keychain Manager passes this pointer to invoke your callback function.
A result code.
The Keychain Manager calls the InvokeKCCallbackUPP function whenever a keychain event occurs, or when a lengthy operation is occurring, as indicated by the event mask you pass in the eventMask parameter of the function KCAddCallback. In turn, the Keychain Manager passes the event type, an information structure about the event, and a reference to the application-defined context to your callback function. For information on how to create a Keychain event-handling callback function, see KCCallbackProcPtr.
Available beginning with Keychain 1.0.
Under evaluation for Carbon. Available in CarbonLib 1.0 and later. Exported by CarbonLib 1.0 and later.
© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)